-
Notifications
You must be signed in to change notification settings - Fork 273
chore(deps): update @primer/react to v37 #1746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When bringing Primer React into your project you will need a bundler setup to be aware of how to handle CSS when imported from a JavaScript context.
|
e637a16
to
5c548bd
Compare
d03e23d
to
0725eb4
Compare
b3620d6
to
015d1a4
Compare
80be4f2
to
5b506d1
Compare
3416e68
to
51da6e3
Compare
b156bff
to
eb959b4
Compare
ff85be7
to
6719750
Compare
0d69d4f
to
85c9941
Compare
c70b82f
to
9502fda
Compare
@setchy do you need help with this too? |
Help would be great. I've had a few timeboxed attempts. The experimental primer |
Do we use some component which need to be replaced with Banner, or they implemented some breaking changes? |
primer v37 triggers these compilation issues when using the experimental components. My guess is it may be an upstream change
|
Thank you for clarification, I will check |
617e8f8
to
1f7a2df
Compare
1f7a2df
to
0327469
Compare
@setchy I checked it.
What do you think about it? |
Nevermind, it was not because of self written tooltip, I almost fixed it and will push later, need some time to test locally and investigate strange issues |
This PR contains the following updates:
36.27.0
->37.25.0
Release Notes
primer/react (@primer/react)
v37.25.0
Compare Source
Minor Changes
#6107
694dd95
Thanks @copilot-swe-agent! - feat(ConfirmationDialog): add className, width and height#5899
7cf029d
Thanks @joshblack! - Add support for different sizes to Blankslate#6051
a007808
Thanks @jonrohan! - Remove the css modules feature flag from the SelectPanel2 experimental component#6052
06361d1
Thanks @jonrohan! - Remove the CSS module feature flag from the AvatarStack component#5899
7cf029d
Thanks @joshblack! - Add support for HTML attributes being passed to Blankslate components#6050
53ef8ea
Thanks @hectahertz! - Switch to a CSS based solution for the PageLayout sticky panePatch Changes
#6109
f7471f8
Thanks @TylerJDev! - DataTable: Add visually hidden text to sortable DataTable column buttons#6055
3b6b1d1
Thanks @TylerJDev! - DataTable: Adds outline-offset to focus indicator on pagination buttons#6077
cf97cb5
Thanks @langermank! - FixSkeleton
background color#6054
3fc7741
Thanks @khiga8! - Add support for aria-label on ActionList.Group#6095
3beba5b
Thanks @francinelucca! - fix(Button): correct loading alignment#6049
776e05e
Thanks @TylerJDev! - ActionList: Ensurerole="option"
is added whenrole="listbox"
is used; allow disabled items to remain focusable#6100
a7e99f8
Thanks @jonrohan! - Remove unused getBreakpointDeclarations function and any related code.v37.24.0
Compare Source
Minor Changes
#5933
ed6e947
Thanks @jonrohan! - Remove the CSS modules feature flag from the SegmentedControl component#6022
1f53127
Thanks @jonrohan! - Remove the CSS modules feature flag from the ActionList.Divider component#6023
5e514f3
Thanks @jonrohan! - Remove the CSS modules feature flag from the ActionList.Group component#5827
e76835c
Thanks @jonrohan! - Remove the CSS modules feature flag for Popover#5997
882d923
Thanks @jamieshark! - Remove CSS modules flag from Pagination.#5910
cdd4253
Thanks @TylerJDev! - ActionMenu: Adds new proponPositionChange
that is called when the position of the overlay is changed#6021
a37d544
Thanks @jonrohan! - Remove the CSS modules feature flag from the ActionList.TrailingAction component#6019
6c2c999
Thanks @jonrohan! - Remove the CSS modules feature flag from the ActionList/List component#6014
2fc9327
Thanks @jonrohan! - Remove the CSS modules feature flag from the Token componentPatch Changes
#6036
21a3529
Thanks @francinelucca! - fix(Overlay): reset maxheight and maxwidth values when on fullscreen#6009
261732e
Thanks @francinelucca! - Fix extra padding on SelectPanel with groups#6032
e0ef7e1
Thanks @joshblack! - Update theTable.Container
component to placeclassName
on outermost elementv37.23.0
Compare Source
Minor Changes
#6013
2b2b541
Thanks @jonrohan! - Remove the CSS modules feature flag from the CheckboxOrRadioGroup component#6007
6e03bf9
Thanks @joshblack! - Update Flash from sx to CSS Modules#6015
237186a
Thanks @jonrohan! - Remove the CSS modules feature flag from the Select component#5991
f1fedf3
Thanks @veryfancy! - Add support for theonToggleSort
prop toDataTable
#5907
dbeca84
Thanks @bibektamang7! - feat(Datatable): add optional getRowId prop to support custom row identifiers#5971
56248f7
Thanks @francinelucca! - feat(SelectPanel): display selected items at the top under FFPatch Changes
#6024
a470e14
Thanks @francinelucca! - turn off primer_react_select_panel_order_selected_at_top by default#5914
159d124
Thanks @langermank! - Bumpprimer/primitives
v10 or v11 to prep for next major#5996
49fa2c8
Thanks @francinelucca! - Fix(Dialog): set height limit of 35% to DialogHeader#5995
48909e4
Thanks @joshblack! - fix(TextArea): only add class name to outermost elementv37.22.0
Compare Source
Minor Changes
#5981
b03f78f
Thanks @jonrohan! - Remove the CSS modules feature flag from the BaseStyles component#5970
02ed196
Thanks @jonrohan! - Remove the CSS modules feature flag from the TextInput component#5984
103c3bf
Thanks @joshblack! - Add support for theclassName
prop toFormControl.Validation
#5982
36f1007
Thanks @jonrohan! - Remove the CSS modules feature flag from the Overlay component#5969
1066419
Thanks @jonrohan! - Remove the CSS modules feature flag from the Dialog component#5872
2b98c2c
Thanks @jonrohan! - Remove the CSS modules feature flag from the TooltipV2 component#5934
c1ea6cf
Thanks @jonrohan! - Remove the CSS modules feature flag from the TreeView component#5983
8a22d86
Thanks @jonrohan! - Remove the CSS modules feature flag from the ProgressBar component#5973
6d3fc05
Thanks @joshblack! - Update components to use jsx from react/jsx-runtime instead of createElementPatch Changes
#5986
308fe82
Thanks @francinelucca! - fix(SelectPanel): do not depend on id for selection comparison#5968
0ea045a
Thanks @jonrohan! - Remove the primer_react_css_modules_staff feature flag. Also needed to rework the feature flag logic for the NavList component.#5963
7562cbb
Thanks @joshblack! - Update Avatar component to correctly merge style when style prop is providedv37.21.0
Compare Source
Minor Changes
#5841
fe429d7
Thanks @dwsosa! - added default button type to switch button to prevent submit when included in form#5929
294dac3
Thanks @hectahertz! - Add the framework required to run component stress tests#5939
633fd39
Thanks @hectahertz! - Implement the secondaryAction prop and deprecate footer#5935
4f9aae7
Thanks @jonrohan! - Remove the CSS modules feature flag for the PageLayout componentPatch Changes
#5942
596388d
Thanks @hectahertz! - Improve PageLayout performance#5962
196de0f
Thanks @emilybrick! - Fix spacing for SelectPanel header on modal to better align with x button#5958
9110f71
Thanks @joshblack! - Update ActionList.LinkItem to pass through thevariant
prop when the CSS Modules flag is disabled#5956
5cb35f3
Thanks @hectahertz! - Introduce Save and close on SelectPanelv37.20.0
Compare Source
Minor Changes
#5788
cd9987d
Thanks @jonrohan! - Remove the CSS modules feature flag from Table#5875
3014334
Thanks @jonrohan! - Remove the CSS modules feature flag from the BranchName component#5874
365d53d
Thanks @jonrohan! - Remove the CSS modules feature flag from the Breadcrumbs component#5868
7e6475d
Thanks @jonrohan! - Remove the CSS modules feature flag from Text#5883
703b69d
Thanks @hectahertz! - SelectPanel: Add variant="modal"#5870
7373295
Thanks @jonrohan! - Remove the CSS modules feature flag from the Stack component#5877
8a7d583
Thanks @jonrohan! - Remove the CSS modules feature flag from the PageHeader component#5931
96af0aa
Thanks @jamieshark! - Adds className prop to UnderlineNav component.Patch Changes
#5902
c9659fd
Thanks @hectahertz! - Fix DialogV1 story broken link#5930
876b822
Thanks @francinelucca! - fix(SelectPanel): use dvh units for full screen when availablev37.19.1
Compare Source
Patch Changes
Update data table pagination pageEnd to handle zero based index
b926c08
Thanks @AAugustine! - Update data table pagination pageEnd to handle zero based indexv37.19.0
Compare Source
Minor Changes
#5900
ebc6813
Thanks @jonrohan! - Remove the CSS modules feature flag from the ActionList.Heading component#5830
f8760fe
Thanks @iansan5653! - HideTooltipV2
tooltips ontouchend
event#5873
0a2e3f0
Thanks @jonrohan! - Remove the CSS modules feature flag for the TextArea component#5693
da85192
Thanks @francinelucca! - chore(SkeletonBox): promote to Alpha#5876
a78c820
Thanks @jonrohan! - Remove the CSS modules feature flag from the SideNav component#5882
6eecde6
Thanks @francinelucca! - chore(SelectPanel): remove css modules feature flag#5851
a812a86
Thanks @jamieshark! - Removes feature flag for FormControl#5861
ecb449f
Thanks @jamieshark! - Changes argument signature for toggleSxComponent to simplify#5836
c177e5e
Thanks @jamieshark! - Removes css module flag for UnderlinePanels and associated components.Patch Changes
#5866
f978534
Thanks @mperrotti! - Improves how we detect context for inactive item messaging by checking therole
onActionList
instead of relying on parent components, making the logic more robust and consistent. It also fixes incorrect behavior inNavList
andSelectPanel
, and improves accessibility by correctingaria
relationships on tooltip buttons.#5912
81821db
Thanks @francinelucca! - fix(SelectPanel): always show x button on single select#5908
8e7bc0e
Thanks @francinelucca! - fix(SelectPanel): differentiate onCancel gesture from escape#5904
a522fdb
Thanks @francinelucca! - fix(SelectPanel): disable body scroll on full screen#5906
8fa12ea
Thanks @TylerJDev! - SelectPanelV2: Adddeprecated
status to SelectPanelV2 docs and stories#5881
ea1fb50
Thanks @emilybrick! - fix(SelectPanel): Add margin around notice stylesv37.18.0
Compare Source
Permalink to documentation
Minor Changes
#5820
bd9225d
Thanks @hussam-i-am! - feat(Pagination): add renderPage prop to Pagination#5546
2aef81a
Thanks @joshblack! - Add support for importing@primer/react/generated/components.json
to npm package#5826
5f40e43
Thanks @francinelucca! - SelectPanel: Implement empty state (behind ff)#5803
9c135c4
Thanks @broccolinisoup! - StateLabel: Add open and closed states for no icon casesPatch Changes
#5853
ba415bb
Thanks @iansan5653! - Add workaround for Chrome bug whereKeybindingHint
in combination witharia-labelledby
results in incorrect label#5835
2cb629a
Thanks @siddharthkp! - Overlay: Fix position for fullscreen overlay on narrow screens#5629
b7346b2
Thanks @hectahertz! - Make Dialog footer scrollable on very short viewports#5852
5d66a4c
Thanks @jonrohan! - bugfix(PageHeader): Use font-weight initial to match the styled component styling#5629
b7346b2
Thanks @hectahertz! - Update the Dialog stress test story to go fullscreen on narrow screensv37.17.0
Compare Source
Minor Changes
#5804
687343c
Thanks @jonrohan! - Remove CSS modules feature flag from the InlineMessage component#5786
0f165d4
Thanks @jonrohan! - Remove the CSS modules feature flag from the Timeline component#5793
4213a86
Thanks @jonrohan! - Remove the CSS modules feature flag from the Autocomplete component.#5741
d32dd27
Thanks @mperrotti! - AddshasBorder
prop to PageHeader to allow a bottom border#5810
2411aa9
Thanks @hussam-i-am! - ActionList.Group + ActionList.TrailingAction: add missing className propLabelGroup: add missing className prop
#5792
4e85438
Thanks @jonrohan! - Remove the CSS modules feature flag from the KeybindingHint Component.#5790
acc5d27
Thanks @hectahertz! - Add Notice to SelectPanel#5821
3a102a7
Thanks @jamieshark! - Adds util function to swap out SX enabled components.#5795
1555b1b
Thanks @jonrohan! - Remove the CSS modules feature flag from the ConfirmationDialog component#5787
9272a8c
Thanks @jonrohan! - Remove the CSS module feature flag from SkeletonAvatar SkeletonBox and SkeletonTextPatch Changes
#5811
91b52f7
Thanks @TylerJDev! - DialogV2: Fix CSS issue whereflex-grow
wasn't getting applied via classname#5436
11b8d4c
Thanks @TylerJDev! - ShowTooltip
on close button inDialog
#5832
b6c7690
Thanks @francinelucca! - chore(SelectPanel): put fullscreen functionality behind FF#5816
59e62c1
Thanks @langermank! - Bug fix:className
passed to PageLayout twice#5761
94bc6e4
Thanks @siddharthkp! - SelectPanel: Make SelectPanel full screen on narrow devices with a Save button#5797
fbc6f97
Thanks @broccolinisoup! - SubNav: Update selected styles to only apply todata-selected='true'
v37.16.0
Compare Source
Minor Changes
#5763
d3926d1
Thanks @hussam-i-am! - chore(Box): Mark Box and its props as deprecated#5772
0970415
Thanks @jonrohan! - Removing the CSS modules feature flag from the SubNav component.#5785
fbd7fc9
Thanks @jonrohan! - Remove CSS modules feature flag from VisuallyHidden#5760
8b492cf
Thanks @TylerJDev! - Radio: Removesaria-invalid
andaria-required
fromRadio
, as they are not supported on the element's role.#5759
76bf60d
Thanks @siddharthkp! - AnchoredOverlay: Add prop to set responsive variant. Example:variant: {regular: 'anchored', narrow: 'anchored'}
#5725
d3b48b1
Thanks @lukasoppermann! - Allow button count prop to accept a number or a string, to allow for human format, like 3.2kPatch Changes
#5768
7b2eb4e
Thanks @joshblack! - Update CSS Custom Property used in skeletons to fix animation behind feature flag.#5773
9e18567
Thanks @lukasoppermann! - Update icon color for Blankslate to--fgColor-muted
to align with Figma and Primer ViewComponents#5764
c63e805
Thanks @joshblack! - Update base component for Checkbox and Radio to pass along correct prop type in React 19#5765
86a6211
Thanks @joshblack! - Update ordering of selectors to improve rendering of checked Radio options#5649
63ca6f2
Thanks @joshblack! - Update BaseStyles to set data-color-mode to auto when colorMode in ThemeProvider is auto#5767
e0c34d0
Thanks @mperrotti! - Upgrades tab-container-elementv37.15.0
Compare Source
Minor Changes
#4686
6b137a4
Thanks @TylerJDev! - AddNavList.ShowMoreItem
component to support showing more content within aNavList
.#5726
2646c12
Thanks @smockle! - feat: SupportclassName
prop inFormControl.Caption
component#5716
d62a494
Thanks @hussam-i-am! - chore: Ensure class names conform to PascalCase#5666
7400549
Thanks @TylerJDev! - ActionBar: Improvesdisabled
state onActionBar.IconButton
; includesdisabled
state in overflow menu#5737
454ff20
Thanks @hussam-i-am! - fix(SplitPageLayout): add className propPatch Changes
#5738
a4137bc
Thanks @jamieshark! - Update FormControl to use CSS Modules GA feature flag.#5742
86cd9f0
Thanks @francinelucca! - fix: user red focus state for inputs when in error state#5705
2857a8e
Thanks @iansan5653! - FixAvatarStack
stackingz-index
bugs by creating a new stacking context around the component#5710
b1cdc63
Thanks @jonrohan! - Moving AvatarStack toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving PageLayout toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Pagination toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SegmentedControl toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SelectPanel toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SubNav toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Token toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Tooltip toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving BaseStyles toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving SideNav toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving ConfirmationDialog toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving DataTable toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving UnderlinePanels toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving InlineMessage toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving KeybindingHint toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving NavList toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Overlay toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving PageHeader toprimer_react_css_modules_ga
feature flag#5710
b1cdc63
Thanks @jonrohan! - Moving Autocomplete toprimer_react_css_modules_ga
feature flag#5743
9d78410
Thanks @langermank! - MoveActionList
feature flag to GA#5733
7849c95
Thanks @francinelucca! - fix(TextInput): use cursor text on wrapper#5714
0cfafe8
Thanks @mperrotti! - Fixes AvatarStack styling bugs. Primarily, preventing avatars from appearing above overlays such as dialog modals.v37.14.0
Compare Source
Minor Changes
#5687
2bbc5a0
Thanks @TylerJDev! - Blankslate: Add support for button inBlankslate.PrimaryAction
#5510
37a91b5
Thanks @jonrohan! - Remove CSS modules feature flag from HeaderPatch Changes
#5712
22508b7
Thanks @jonrohan! - bugfix(SelectPanel): Set border-top-color on selectpanel footer#5686
64f183b
Thanks @jonrohan! - TheUnderlinePanels
component wasn't supporting passing inclassName
. Adding to the prop list#5661
1262f5a
Thanks @TylerJDev! - SubNav: Addsaria-current
to selected links#5562
947b59d
Thanks @francinelucca! - fix(SelectPanel): Correctly recalculate position on overflow#5655
56baa0a
Thanks @hectahertz! - Fix LinkButton types and storiesv37.13.0
Compare Source
Minor Changes
dbcb8f7
Thanks @khiga8! - feat: Introduce Tooltip to SegmentedControlIconButtonPatch Changes
#5636
c2165af
Thanks @ktravers! - Update useOpenAndCloseFocus hook to apply return focus when preventFocusOnOpen prop is given#5662
613cf0c
Thanks @kendallgassner! - Autocomplete: Use aria-live to announce "no selectable options".#5669
b2bc006
Thanks @jonrohan! - Move FormControl css modules feature flag from team to staff#5628
621c878
Thanks @hectahertz! - Update the Dialog stress test story to go fullscreen on narrow screens#5667
10436f5
Thanks @lukasoppermann! - Replaced raw values for duration and easing with primitives#4481
6e7da1e
Thanks @TylerJDev! - AllowsActionMenu
andSelectPanel
items to remain focusable whendisabled
#5683
8bb78e1
Thanks @jonrohan! - Remove the CSS modules feature flag from the Hidden componentv37.12.0
Compare Source
Permalink to documentation
Minor Changes
#5466
eb0857d
Thanks @jonrohan! - Remove CSS modules feature flag from Spinner#5492
469f703
Thanks @joshblack! - Update dependency range for React dependencies to include 19.x#5608
3a41430
Thanks @hussam-i-am! - feat(AvatarStack): add style prop#5139
59e0efa
Thanks @broccolinisoup! - [SelectPanel] Implement loading states#5174
cf80bf2
Thanks @TylerJDev! - TreeView: Addsaria-label
prop toTreeView.Subtree
Patch Changes
#5606
f291e81
Thanks @joshblack! - Update BaseStyles to no longer pass system props when feature flag is enabled#5595
2db6c92
Thanks @francinelucca! - fix(useResizeObserver): undefined variable alternative#5593
2b05aad
Thanks @camertron! - Fix experimental SelectPanel anchoring behavior#5657
de4fc48
Thanks @langermank! - Remove style from sx#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for Autocomplete fromteam
tostaff
#5610
32b1f2f
Thanks @jonrohan! - Moving CSS component feature flag for Overlay fromteam
tostaff
#5610
32b1f2f
Thanks [@jonrConfiguration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.